package com.yuyou.fn.interceptor;

import com.yuyou.fn.platform.vo.AccessTokenVo;
import org.springframework.web.servlet.handler.HandlerInterceptorAdapter;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * Created by wens on 16-12-14.
 */
public class SysPermissionInterceptor extends HandlerInterceptorAdapter{




    @Override
    public boolean preHandle(HttpServletRequest request, HttpServletResponse response, Object handler) throws Exception {

        AccessTokenVo accessToken = (AccessTokenVo)request.getAttribute("accessToken");



        return super.preHandle(request, response, handler);
    }
}
